#ifndef CLASSWITHINTEGERS_H 
#define CLASSWITHINTEGERS_H 

#include "BearFactory.h"
#include "ClassWithIntegersBear.h"


class ClassWithIntegers
     : public ClassWithIntegersBear
{
public:
    ClassWithIntegers();

    ~ClassWithIntegers();

    //You can edit this part - Start

    //You can edit this part - End
};


class ClassWithIntegersFactory
     : public BBFactory
{
public:
    ClassWithIntegersFactory()
    {
        BearFactory::instance()->registerFactory( "ClassWithIntegers", this );
    }

    ~ClassWithIntegersFactory()
    {
        //DOES NOTHING
    }

    virtual Bear* instance() const
    {
        return new ClassWithIntegers();
    }
};

Q_DECLARE_METATYPE( ClassWithIntegers );

#endif
